package com.ruoyi.good.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物资出入库对象 good_stock
 *
 * @author rockvan
 * @date 2023-04-09
 */

public class GoodStock extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 出入库id */
    private Long id;

    /** 物资去向 */
    @Excel(name = "物资去向")
    private String accept;

    /** 物资数量 */
    @Excel(name = "物资数量")
    private Long goodNum;

    /** 物资规格 */
    @Excel(name = "物资单位")
    private String goodSize;

    /** 物资Id */
    @Excel(name = "物资Id")
    private Long goodId;

    /** 物资名称 */
    @Excel(name = "物资名称")
    private String goodName;

    /** 联系人 */
    @Excel(name = "联系人")
    private String peopleName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String peoplePhone;

    /** 操作类型 */
    @Excel(name = "操作类型")
    private Integer operateType;

    /** 逻辑删除 */
    private Integer isDelete;

    /** 乐观锁 */
    private Long version;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAccept() {
        return accept;
    }

    public void setAccept(String accept) {
        this.accept = accept;
    }

    public Long getGoodNum() {
        return goodNum;
    }

    public void setGoodNum(Long goodNum) {
        this.goodNum = goodNum;
    }

    public String getGoodSize() {
        return goodSize;
    }

    public void setGoodSize(String goodSize) {
        this.goodSize = goodSize;
    }

    public Long getGoodId() {
        return goodId;
    }

    public void setGoodId(Long goodId) {
        this.goodId = goodId;
    }

    public String getGoodName() {
        return goodName;
    }

    public void setGoodName(String goodName) {
        this.goodName = goodName;
    }

    public String getPeopleName() {
        return peopleName;
    }

    public void setPeopleName(String peopleName) {
        this.peopleName = peopleName;
    }

    public String getPeoplePhone() {
        return peoplePhone;
    }

    public void setPeoplePhone(String peoplePhone) {
        this.peoplePhone = peoplePhone;
    }

    public Integer getOperateType() {
        return operateType;
    }

    public void setOperateType(Integer operateType) {
        this.operateType = operateType;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("accept", getAccept())
                .append("goodNum", getGoodNum())
                .append("goodSize", getGoodSize())
                .append("goodId", getGoodId())
                .append("goodName", getGoodName())
                .append("peopleName", getPeopleName())
                .append("peoplePhone", getPeoplePhone())
                .append("operateType",getOperateType())
                .append("createTime", getCreateTime())
                .append("isDelete", getIsDelete())
                .append("version", getVersion())
                .toString();
    }

}
